// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeDBInstancesByPerformanceResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeDBInstancesByPerformanceResponse::DescribeDBInstancesByPerformanceResponse() {
}

const string& DescribeDBInstancesByPerformanceResponse::DBInstancePerformance::GetCPUUsage(void) const {
  return CPUUsage_;
}

const string& DescribeDBInstancesByPerformanceResponse::DBInstancePerformance::GetIOPSUsage(void) const {
  return IOPSUsage_;
}

const string& DescribeDBInstancesByPerformanceResponse::DBInstancePerformance::GetDiskUsage(void) const {
  return DiskUsage_;
}

const string& DescribeDBInstancesByPerformanceResponse::DBInstancePerformance::GetSessionUsage(void) const {
  return SessionUsage_;
}

const string& DescribeDBInstancesByPerformanceResponse::DBInstancePerformance::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const string& DescribeDBInstancesByPerformanceResponse::DBInstancePerformance::GetDBInstanceDescription(void) const {
  return DBInstanceDescription_;
}

const std::vector<DescribeDBInstancesByPerformanceResponse::DBInstancePerformance>& DescribeDBInstancesByPerformanceResponse::GetItems(void) const {
  return Items_;
}

int DescribeDBInstancesByPerformanceResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeDBInstancesByPerformanceResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeDBInstancesByPerformanceResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeDBInstancesByPerformanceResponse::BaseKey(void) {
  return "DescribeDBInstancesByPerformanceResponse";
}

void DescribeDBInstancesByPerformanceResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeDBInstancesByPerformanceResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].CPUUsage_, response_map, "DescribeDBInstancesByPerformanceResponse.Items["+string_ValueOfInt(i1)+"].CPUUsage");
      UnmarshallerString(Items_[i1].IOPSUsage_, response_map, "DescribeDBInstancesByPerformanceResponse.Items["+string_ValueOfInt(i1)+"].IOPSUsage");
      UnmarshallerString(Items_[i1].DiskUsage_, response_map, "DescribeDBInstancesByPerformanceResponse.Items["+string_ValueOfInt(i1)+"].DiskUsage");
      UnmarshallerString(Items_[i1].SessionUsage_, response_map, "DescribeDBInstancesByPerformanceResponse.Items["+string_ValueOfInt(i1)+"].SessionUsage");
      UnmarshallerString(Items_[i1].DBInstanceId_, response_map, "DescribeDBInstancesByPerformanceResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceId");
      UnmarshallerString(Items_[i1].DBInstanceDescription_, response_map, "DescribeDBInstancesByPerformanceResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceDescription");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(PageNumber_, response_map, "DescribeDBInstancesByPerformanceResponse.PageNumber");
  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeDBInstancesByPerformanceResponse.TotalRecordCount");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeDBInstancesByPerformanceResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
